package com.service;

import com.common.paging.PagingData;
import com.dto.in.ResumeInfo;
import com.entity.*;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface SeekTeacherService {

    List<ListTeacherInfo> seekTeacher(String teacherName,String teacherSex,String cityName,Integer teacherValue, Integer orderCount, String teachingStage, String schoolId, String subjectId, String teachingAreaId, Integer limit);

    Teacherinfo findTeacherDetail(Integer userId);

    int updateResume(ResumeInfo resumeInfo);

    Teacherinfo findValueResume(Integer userId);

    int findIsOne(Integer userId);

    int insertGrade();

    int updateGrade(Integer userId,Integer gradeType);

    int updateAge(Integer userId,Integer age);

    PagingData findPosition(Integer page, Integer length);

    List<ItemBankInfo> findItemBankList(Integer limit);

    int deleteMyItemBank(Integer itemBankId);

    int deleteMyFeedBack(Integer feedBackId);

    ItemBankInfo findItemBankDetail(Integer itemBankId);

    List<FeedBackInfo> findFeedBackList(Integer limit,Integer userId);

    FeedBackInfo findTeacherFeedBackDownStudentList1(Integer teacherFeedBackId);

    List<FeedBackInfo> findTeacherFeedBackDownStudentList(Integer limit,Integer userId);

    int insertItemBank(String userId,String url,String content);

    int insertAnswer(String userId,String itemBankId,String content,String url);

    int insertFeedBack(String teaUserId,String stdUserId,String content,String url);

    int insertStdFeedBack(String userId,String teacherFeedBackId,String content,String url,int a);

    int insertTeacherUrl(String teacherId,String url);

    int insertTeacherUrl2(String teacherId,String url);

    List<StudentInfo> findTeacherUser(Integer limit, Integer userId);
}

